package com.koron.device.bean.template;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ImPMsgDto {

    @ApiModelProperty(value = "导入返回code SUCCESS 成功、ERROR 导入异常 code为ERROR时，拿fileName请求导入错误文档下载接口")
    private String msgcode;

    @ApiModelProperty(value = "导入描述")
    private String msgName;

    @ApiModelProperty(value = "导入异常文件名称")
    private String fileName;

    @ApiModelProperty(value = "异常行的错误信息")
    private List<String> errMsglist;

    public ImPMsgDto() {
    }

    public ImPMsgDto(String msgcode, String msgName, String fileName) {
        this.msgcode = msgcode;
        this.msgName = msgName;
        this.fileName = fileName;
    }
}
